Home
last modified time | relevance | path

Searched hist:"556637 cdabcd5918c7d4a1a2679b8f86fc81e891" (Results 1 – 1 of 1) sorted by last modified time

/linux/mm/
H A Dpagewalk.cdiff 556637cdabcd5918c7d4a1a2679b8f86fc81e891 Mon Apr 28 11:11:47 CEST 2008 Johannes Weiner <hannes@saeurebad.de> mm: fix possible off-by-one in walk_pte_range()

After the loop in walk_pte_range() pte might point to the first address after
the pmd it walks. The pte_unmap() is then applied to something bad.

Spotted by Roel Kluin and Andreas Schwab.

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Cc: Roel Kluin <12o3l@tiscali.nl>
Cc: Andreas Schwab <schwab@suse.de>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>